# -*-coding:utf-8 -*-
# File  : deviceTicketUpdate_api.py
# Time  ：2021/12/8 10:05
# Author：author name

from api.manage.manage_base import ManageBase


class DeviceTicketUpdate(ManageBase):
    def __init__(self):
        """即开票彩种设备接口"""
        super().__init__()
        self.url = self.host + "cloudlottery-manage/deviceticketdistributor/update"
        self.json = {"deviceSn": "YCKJ02XX19090291", "otlotteryCode": "123456456789", "otlotteryCount": 85,
                     "remark": "", "serialNumber": 1, "serialPort": 1, "id": "a7b96559c0eb49bdb81666362d28ab32"}
        self.method = "put"
